import axios from 'axios'

$('#btn-1').on('click', function () {
    axios.post('http://schematic-ipsum.herokuapp.com/?n=1', {
        "type": "object",
        "properties": {
            "name": {
                "type": "string",
                "ipsum": "name"
            },
            "phone": {
                "type": "string",
                "format": "phone"
            }
        }
    }).then(response => {
        console.log(response)
    })
})

